Previous Book Contents Book Index Next

Inside Macintosh: Programming With the Text Encoding Conversion Manager /
Chapter 2 - Basic Text Types Reference / Basic Text Functions
Obtaining Information From a Text Encoding Specification /


ResolveDefaultTextEncoding

Returns a text encoding specification in which any meta-values have been resolved to real values. Currently, this affects only the base encoding values packed into the text encoding specification.

pascal TextEncoding ResolveDefaultTextEncoding (TextEncoding encoding); 
encoding
A text encoding specification possibly containing meta-values that you want to resolve into a text encoding specification containing only real values.
function result
A text encoding specification containing only real base encoding values.
DISCUSSION
This function is useful for application developers who are providing APIs that take text encoding specifications as parameters. All APIs in the Unicode Converter and Text Encoding Converter perform this translation automatically.

SEE ALSO
"Text Encoding Base" (page 31)


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 NOV 1997